﻿using System;
using System.Diagnostics;
using System.Threading;
using Cemit.PolyServer.Main;
using Cemit.PolyServer.Game;
using Cemit.PolyServer.Lobby;
using Newtonsoft.Json;

namespace Cemit.PolyServer
{
    class Program
    {
        static void Main(string[] args)
        {
            string ip = "127.0.0.1";
            string removeIp = "127.0.0.1";

            //string ip = "110.64.211.163";
            //string removeIp = "110.64.211.163";

            //string ip = "192.168.1.100";
            //string removeIp = "192.168.1.100";

            //string ip = "172.18.229.90";
            //string removeIp = "39.108.181.9";

            new MainServer().Start(ip, 2333);
            new GameServer().Start(ip, 4001);
            new LobbyServer(removeIp, 4001).Start(ip, 3001);

        }
    }
}
